package com.b.controller;
import com.b.domain.ProductEvaluationImage;
import com.b.service.impl.ProductEvaluationImageServiceImpl;
import org.springframework.web.bind.annotation.*;

import jakarta.annotation.Resource;
/**
* 商品评价图片表(product_evaluation_image)表控制层
*
* @author xxxxx
*/
@RestController
@RequestMapping("/product_evaluation_image")
public class ProductEvaluationImageController {
/**
* 服务对象
*/
@Resource
private ProductEvaluationImageServiceImpl productEvaluationImageServiceImpl;

/**
* 通过主键查询单条数据
*
* @param id 主键
* @return 单条数据
*/
@GetMapping("selectOne")
public ProductEvaluationImage selectOne(Integer id) {
return productEvaluationImageServiceImpl.selectByPrimaryKey(id);
}

}
